コード例 #1
0
        protected Force Target(ForceProps force, Vector3 direction)
        {
            Force out_ = GetForce(force);

            if (out_ == null)
            {
                out_ = new Force(force, direction);
                active_forces.Add(out_.properties.Name, out_);
            }

            return out_;
        }
コード例 #2
0
ファイル: ForceStruct.cs プロジェクト: xCosmix/Random_Project
 public Force2Call(Vector3 direction, Force force)
 {
     this.direction = direction;
     this.force = force;
 }