title: Is it possible from getting a public void from another C# file?
body: <p>I'm quite new to C#, and I'm using it for coding a game on Unity. I have a file named <code>GameTools.cs</code> that helps me with commands so that I don't have to do too much. It basically makes my code simpler and shorter. Now with the code...</p>
  <pre class="lang-cs prettyprint-override"><code>//GameTools.cs
  public void DoSomething() {
      //some code
      //some more code
  }
  </code></pre>
  <p>And inside my file <code>IntroBehavior.cs</code> has the same <code>void</code> as shown above.</p>
  <pre class="lang-cs prettyprint-override"><code>//IntroBehavior.cs
  void Start() {
      DoSomething(); //command shown above
  }
  </code></pre>
  <p>Will this work? Do I have to specify something inside <code>IntroBehavior</code> that will be able to run code from <code>GameTools</code>?</p>