How can I access a method from a namespace to a class not belonging to any namespace ? (or it does but I don't know what to use)
EXAMPLE:
//CLASS 1
using UnityEngine;
using System.Collections;
public class Human: MonoBehaviour
{
static public void Hello ()
{}
}
And
//CLASS 2
using UnityEngine;
using System.Collections.Generic;
using System.Linq;
namespace Company.UI.Magic
{
public class SomeClass: MonoBehaviour
{
void Start ()
{
//QUESTION . How can I run Hello Method from here??? Human.Hello() is not working!
}
}
}
**NOTE: CLASS 2 WAS IN PLUGIN FOLDER - THIS CAUSED MY PROBLEMS**
It's solved now!
↧