Esempio n. 1
0
    public Pewter(Transform player) : base(player)
    {
        this.burnFactor  = 2.0f;
        this.flareFactor = this.burnFactor * 3.0f;

        this.playerScript = player.GetComponent <Allomancer>();
    }
Esempio n. 2
0
 public static void RemoveAllomancer(Allomancer allomancer)
 {
     Allomancers.Remove(allomancer);
 }
Esempio n. 3
0
 public static void AddAllomancer(Allomancer allomancer)
 {
     Allomancers.Add(allomancer);
 }
Esempio n. 4
0
 private void Awake()
 {
     characterScript = GetComponentInChildren <Allomancer>();
     charController  = GetComponent <CharacterController>();
     head            = GetComponent <XRRig>().cameraGameObject;
 }