Esempio n. 1
0
    private void Start()
    {
        Attribute = LoadAttritube("NULL", typeof(CannonBuffAttrType));

        InitBuff();

        Game = GameObject.Find("GameContorl").GetComponent <CannonGameContorl>();
    }
    void Start()
    {
        Attritube = LoadAttritube("DefalutUnit", typeof(UnitStaticAttritubeType));

        InitUnitMonoBehaciour();

        OnDamage = false;

        OnAttack = false;
    }