void Awake()
    {
        stats = GetComponent <Stats>();

        matchRules = WorldConstants.MatchController.GetComponent <LevelManager>().MatchRules;
        aConsts    = WorldConstants.ConstantsOwner.GetComponent <ActorConstants>();
    }
Esempio n. 2
0
    void Start()
    {
        PlayProps  = GetComponent <PlayerProperties>();
        ActorProps = GetComponent <ActorProperties>();

        PlayConsts  = WorldConstants.ConstantsOwner.GetComponent <PlayerConstants>();
        ActorConsts = WorldConstants.ConstantsOwner.GetComponent <ActorConstants>();
    }