Anonymous Anonymous - 2 months ago
125 0

No description

ActionScript

Huhehe

public class TokenMenu : MonoBehaviour
{
private RayManager rayM;
private TurnManager trnM;
private PlayerManager plyM;
private OrderManager ordM;

   void Awake()
{
 GameObject manager = GameObject.Find( "Manager" );
    rayM = manager .GetComponent<RayManager>();
    trnM = manager .GetComponent<TurnManager>();
    plyM = manager .GetComponent<PlayerManager>();
    ordM = manager .GetComponent<OrderManager>();
}

}