示例#1
0
文件: P2Point.cs 项目: HSJMDMG/CHGame
        void Awake()
        {
            Pos          = new Vector2(transform.position.x, transform.position.y);
            m_controller = FindObjectOfType <P2Controller>();

            selected = false;
            spriteR  = GetComponent <SpriteRenderer>();
            //ownership = UNOWNED;
        }
示例#2
0
        //TODO: add change mesh listener

        void Awake()
        {
            mergeChance = true;
            nested      = false;
            selected    = false;

            m_controller = FindObjectOfType <P2Controller>();
            MeshR        = GetComponent <MeshRenderer>();
        }
示例#3
0
 void Awake()
 {
     m_controller = FindObjectOfType <P2Controller>();
 }