Esempio n. 1
0
    void Start()
    {
        SateliteController = GameManager.Instance.CameraManager.SateliteCamera.GetComponent <SateliteController>();
        _InitialScale      = transform.localScale.x;

        EnemyTex     = GameManager.Instance.GUIManager.EnemyDetectionTex;
        EnemyTexOver = GameManager.Instance.GUIManager.EnemyDetectionTexMouseOver;
        EnemyTexDown = GameManager.Instance.GUIManager.EnemyDetectionTexMouseDown;

        UnderterminedTex     = GameManager.Instance.GUIManager.UndeterminedTex;
        UnderterminedTexOver = GameManager.Instance.GUIManager.UndeterminedTexOver;
        UnderterminedTexDown = GameManager.Instance.GUIManager.UndeterminedTexDown;

        FriendTex     = GameManager.Instance.GUIManager.FriendTex;
        FriendTexOver = GameManager.Instance.GUIManager.FriendTexOver;
        FriendTexDown = GameManager.Instance.GUIManager.FriendTexDown;

        UpdateTextures();
    }
Esempio n. 2
0
 void Start()
 {
     SateliteController = GameManager.Instance.CameraManager.SateliteCamera.GetComponent <SateliteController>();
     _InitialScale      = transform.localScale.x;
 }