to be working with Unity Vector3 structs, but can be modified to work with any other 3D (or 2D & 4D or higher) struct/arrays for speedy & light Construction & Reconstruction, to be light on memory, ...
このSprite BlendShapes APIを使ってみる。 SpriteBlendShapeMenuStep1に名前を変更 そのあと中身を全部以下のコードにします。 using UnityEditor; using UnityEngine; public static class SpriteBlendShapeMenuStep1 { [MenuItem("Tools/Unity ...
矢を物理演算を使わずに飛ばしたかったので、Vector3.Lerpを使ってベジェ曲線で飛ばすことにした 矢を放物線状に飛ばす 以下のScriptを矢のオブジェクトにAdd Componentすると 矢の出現と同時に飛んでいく ※ターゲットと発射元のオブジェクトが必要 using System ...