http://www.slideshare.net/lucifuges/unityc
P28
public class Foo { Vector3 myVector = Vector3.one; // 代入がなかったので入れた public void AddVectorTo(ref Vector3 target) { // 返り値がなかった target += myVector; } } public class Bar { Foo foo = new Foo(); Vector3 myVector; public Bar() { foo.AddVectorTo(ref myVector); // fooのメソッド } }