Example #1
0
 public AIMovePattern(PatternData data, PickerAI ai) : base(data)
 {
     this.ai   = ai;
     rigidbody = ai.GetComponent <Rigidbody>();
 }
 protected override void OnEnterPattern()
 {
     ai.meshRenderer.material = ai.GetComponent<Renderer>().material;
 }