2013-01-15から1日間の記事一覧
UnityScriptに限ったことではないが、C#では検証してない。 今回NGUI付属のTweenPositionのセットをプロパティでやっていたが、 valueをそのまま使って+演算子を使うと怒られた public function set SetPosition (value : Vector3) { var tweenPosition : T…
PHPはin_arrayで空かどうか判定できます。 URL: http://kysaeed.blogspot.jp/2010/01/php-null.htmlこうすればPythonもできる URL: http://stackoverflow.com/questions/3583860/how-to-check-list-is-none-in-python list = [None, None] if all(x is None …
URL: http://docs.unity3d.com/Documentation/ScriptReference/Rect.html残念ながらUnityScriptでメモ #pragma strict import System.Collections; public class RestTest extends MonoBehaviour { private var rect : Rect = Rect(4, 7, 10, 13); function …