void Start() { mods = new Dictionary <string, float>(); holder = GetComponentInParent <BuffableLoose>(); holder.addBuff(this); birth = Time.time; AddMods(); }
// Use this for initialization void Start() { //gameInit(); players = new List <Player>(); connections = new List <int>(); BuffableLoose.baseline(); //Debug.Log("enable"); SceneManager.sceneLoaded += OnSceneLoaded; }
// Use this for initialization void Start() { rb = GetComponent <Rigidbody>(); col = GetComponent <CapsuleCollider>(); hp = GetComponent <Health>(); current = PState.Free; look = LookState.Free; vis = GetComponent <Visuals>(); buffholder = GetComponent <BuffableLoose>(); }
// Use this for initialization public override void OnStartLocalPlayer() { //Debug.Log("start"); //if (isLocalPlayer) //{ inp = GetComponent <PhysicalInput>(); CmdServerInit(); BuffableLoose.baseline(); //} SetReadyButton(); }