Example #1
0
    void Start()
    {
        // INITIALIZING NETW STATESYNC COMPONENT
        netwStateSync = gameObject.GetComponent<NetworkStateSync>();

        // VAMPIRE AND SLAYER BASE POSITIONS INITIALIZE
        VampireBasePos = GameObject.Find ("VampireBase").transform.position;
        SlayerBasePos = GameObject.Find ("SlayerBase").transform.position;

        // HUD INITIALIZATION
        HUD = gameObject.GetComponent<vp_SimpleHUD> ();
    }
Example #2
0
 void Start()
 {
     netwEvents = gameObject.GetComponent<NetworkEvents> ();
     netwStateSync = gameObject.GetComponent<NetworkStateSync> ();
     prevDamage = 0f;
 }