コード例 #1
0
    // Use this for initialization
    void Start()
    {
        TransformUtils tu = new TransformUtils();

        selectIndicator = tu.GetChildByName("SelectIndicator", transform);
        selectIndicator.gameObject.SetActive(false);

        moveableUnit = GetComponent <MoveableUnit>();
        if (moveableUnit != null)
        {
            isMoveable = true;
        }
    }