Start() public method

public Start ( ) : void
return void
コード例 #1
0
    public void networkInit()
    {
        thisM.ChangeCam(thisCam);
        //				thisCam.gameObject.SetActive (true);
        foreach (MonoBehaviour m in networkSet)
        {
            m.enabled = true;
        }
        Rigidbody r = GetComponent <Rigidbody>();

        r.velocity   = new Vector3(0, 0, 0);
        r.useGravity = true;

        playerMove pm = GetComponent <playerMove>();

        pm.Start();

        HPText = tileDictionary.thisM.HPText;
        HP     = originalHealth;
    }
コード例 #2
0
 void Start( )
 {
     ExposedVariables.Start( );
 }