public AgentInventory(PlayerController Owner) { OwnerDetails = Owner.CharDetails; OwnerCue = Owner.CharacterCue; OwnerMind = Owner.MindsEye; EquippedUID = string.Empty; }
public AgentInventory(CognitiveAgent Owner) { OwnerDetails = Owner.CharDetails; OwnerCue = Owner.CharacterCue; OwnerMind = Owner.MindsEye; EquippedUID = string.Empty; }
void Awake() { //Vector3 lookVector = transform.TransformDirection(Vector3.forward); //headUpVector = rootNode.InverseTransformDirection(Vector3.up); //headLookVector = rootNode.InverseTransformDirection(lookVector); CognitiveAgent cAgent = GetComponent<CognitiveAgent>(); if (cAgent != null) OwnerMind = cAgent.MindsEye; else OwnerMind = GetComponent<PlayerController>().MindsEye; }
public override Skill Clone(int value) { var tmp = new MindsEye { Description = Description, MaxValue = MaxValue, Name = Name, Value = value }; return(tmp); }
public MindsEyeJewel2() { Name = "Mind's Eye Jewel 2"; Skill = new MindsEye(1); Type = SlotType.Medium; }