Beauty Salon α-BET (alphabet)

space001
Blender3d Collada dae modeling Use Papervision3d on Progression3 and 4 http://a-bet.secret.jp/#/access
more whaison works.
whaison space
space002
http://whaison.jugem.jp/ https://jp.pinterest.com/whaison/ https://www.instagram.com/whaison/ https://whaison.amebaownd.com/
https://suzuri.jp/whaison
http://whaison.blogspot.com/
http://whaison.tumblr.com/ http://qiita.com/users/whaison http://www.behance.net/whaison https://github.com/whaison/ https://bitbucket.org/whaison http://serato.com/user/whaison http://whaison.hatenablog.jp/

typo memo
http://d.hatena.ne.jp/whaison/


dayNote
http://www.myspace.com/whaison http://ameblo.jp/whaison/ http://blog.crooz.jp/whaison/ http://blog.crooz.jp/whaisoncafe/ http://nenpyo.org/whaison

fulldisk
http://full.shin-gen.jp/
http://whaison.client.jp/
http://www.dclog.jp/whaison/
featured forums.
space004
forum.unity3d.com/

forums.unrealengine.com.

Progression Forum.

FlashDevelop Forum.

Papervision3D Forum.

FlexUserGroup Forum.

SparkProjectForum.





Twitter







Mobile
qrcode
Calendar
SunMonTueWedThuFriSat
   1234
567891011
12131415161718
19202122232425
262728293031 
<< May 2013 >>
New Entries
Archives
Categories
Recent comment
  • FlashDevelopでフォント埋め込み
    感謝!! (12/24)
  • cocos2d-x-3.0rc0 ,c++ ,cpp でTexturePacker で 吐き出した、plist と png でパラパラアニメーションのコード例
    whaison (04/17)
  • Blender2.67にbvh(web上に2500個以上ころがってる)入れてそのBoneオブジェクトをUnity4.0のmecanimで使う
    whaison (08/19)
  • Apple Dev Center 「Certificates, Identifiers & Profiles」で Adhoc をつくってXCode4.6.1でArchiveしてipaを書き出し
    whaison (04/30)
  • Flash CS6でプロパティーパネルで物理演算のジャンプの高さを設定できるCitrus Engine
    whaison (03/01)
  • 「Flash以外、例えばKinectとか」ON TOKYO (会場:高田馬場4-11-8 Floor 6階 ) 短縮URL http://bit.ly/dI0Bfx
    uka (03/02)
  • App Store Review Guidelines アップル社のアプリ審査基準ガイドライン和訳 Apple が 開発者を悩ませ ユーザーをハッピーにしたいガイドライン。w
    whaison (01/25)
  • Unity3d では ADOBE JAPAN OSAKIで行われたFITC 2010 TOKYOでは、 「iOS用にパブリッシュするためには、フリー版ではなくて、有料版を買ってください。さらに追加のパッケージである、"iOS Package (for Development)"を買ってください」とのことだった。
    whaison (01/25)
  • enjoy Adidas-Futsal-Park
    whaison (01/16)
  • MacBookAir にFlashPlayer入れたらなった。Mac Flash Player 10.1/10.2でUstream などでカメラが認識されないバグそんなときはUstreamProducer!でもなくiPhoneだと直ぐにライブ配信できた
    whaison (01/14)
simple sintax high lighter2.0
space003
SyntaxHighlighter2.0用 の貼り付けコード作成する!
ブログパーツ-BLOG PARTS.
Profile
Links
Recommend
Sponsored Links
Admin
無料ブログ作成サービス JUGEM
Seach this site
            
2022.03.28 Monday
スポンサーサイト

一定期間更新がないため広告を表示しています

| スポンサードリンク | - | | - | - | pookmark |
            
2013.05.20 Monday
とりあえずunity4 C#のことはじめ(なんだか発音のかわいいアドミソン教授?おじいちゃんの このビデオチュートリアルで結局やったこと。)
 http://www.unitypro.co.uk/Getting_Started_With_Unity_C_Sharp
■1

なんだか発音のかわいいアドミソン教授?おじいちゃんの
このビデオチュートリアルで結局やったこと。

Hierarchy(ヒエラルキー)パネルにMain Camera(メインカメラ)がある前提。
(Flash でいうrootのレイヤー1にMainCameraがあるような感じstageにおいてあるインスタンス)

それぞれ
Asset<Creat<C# Scriptで新規 C#ScriptファイルをAssetにつくって貼り付け。

part1
C#Lesson-1    下記スクリプトを Main Cameraにドラッグして使う
---------------------------------------------------------------------
using UnityEngine;
using System.Collections;
public class NewBehaviourScript : MonoBehaviour {

// Use this for initialization
void Start () {
print("This Time Start");
}
// Update is called once per frame
void Update () {
print("This is from Update");
}
}
---------------------------------------------------------------------
part2
C#Lesson-2    下記スクリプトをMain Cameraにドラッグして使う
----------------------------------------------------------------------
using UnityEngine;
using System.Collections;
public class myScript : MonoBehaviour {
// Use this for initialization
void Start () {
print("This is from start");print("This is from start again.");
print("This is from start even again.");
}
// Update is called once per frame
void Update () {
}
}
----------------------------------------------------------------------
part3
C#Lesson-3    下記スクリプトをMain Cameraにドラッグして使う
----------------------------------------------------------------------
using UnityEngine;
using System.Collections;
public class myVariable : MonoBehaviour {
// Use this for initialization
void Start () {
//
int myHealth=88;
print("Player health=");
print(myHealth);
}
// Update is called once per frame
void Update () {
}
}
----------------------------------------------------------------------
part4
C#Lesson-4    下記スクリプトをMain Cameraにドラッグして使う
-----------------------------------------------------------------------
using UnityEngine;
using System.Collections;
public class myArithmetic : MonoBehaviour {
// Use this for initialization
void Start () {
//integer is 整数なので 0になります//////
//
int X=2;
int Y=6;
int Z=0;//This is answer.
Z=X+Y;//Asddition
print(Z);
Z= Y-X;//Subtraction
print(Z);
Z=X-Y;//Subbtaction
print(Z);
Z=X*Y;//Multiplecation
print(Z);
Z=Y/X; //Dicision
print(Z);
Z=X/Y;//Dicision
print(Z);
Z=Y%X; //Mod oparator
print(Z);
}
}
-----------------------------------------------------------------------
part5
C#Lesson-5    下記スクリプトをMain Cameraにドラッグして使う
------------------------------------------------------------------------
using UnityEngine;
using System.Collections;

public class myFormulas : MonoBehaviour {

// Use this for initialization
void Start () {
int Answer=0;
Answer=2+3*(4+2)/2 -4;
print ("The anser is:"+Answer+" the end.");//Simple formula.
}
}
------------------------------------------------------------------------
part6
C#Lesson-6    下記スクリプトをMain Cameraにドラッグして使う
------------------------------------------------------------------------
using UnityEngine;
using System.Collections;

public class myIncrement : MonoBehaviour {

// Use this for initialization
void Start () {
int X=2;
print(X);
   //print(X++);//Post incriment ///output// printed time plus1= 2 
        //print(++X);//Pre incriment ///output//  print time plus1 = 3
   //print(X--);//Post decrement ///output// printed time plus1= 2
   print(--X);//Pre decrement ///output// printed time plus1= 1
print(X);
}
}
------------------------------------------------------------------------
part7
C#Lesson-7    下記スクリプトをMain Cameraにドラッグして使う
------------------------------------------------------------------------
using UnityEngine;
using System.Collections;

public class myAssignments : MonoBehaviour {

// Use this for initialization
void Start () {
int X=4;
print(X);//This does not mean equal = .
X=X+2; print(X); //== means equals.
X=4; print(X);
X+=2;//The same as X=X +2:
print(X);
X=4; print(X);
X-=2;//The same as X=X-2;
print(X);
X=4;print(X);
X*=2;//Same as X=X*2;
print(X);
X=4;print (X);
X/=2; //The same as X = X/2;
print(X);
X=4;print(X);
X%=2;//The same as X % 2;
print(X);
}
}

------------------------------------------------------------------------
part8
C#Lesson-8    下記スクリプトをMain Cameraにドラッグして使う
------------------------------------------------------------------------
using UnityEngine;
using System.Collections;

public class myGlobal : MonoBehaviour {
//private int Y=45;//This is global variable    //private  Inspector  can't chenge
//public int Y=45;//This is global variable    //public Inspector can chenge
int Y=45;//This is global variable    //non edit is private Inspector can't chenge
// Use this for initialization
void Start () {
int X =50;//This is local variable
print(Y);
}
}

------------------------------------------------------------------------
part9
C#Lesson-9    下記スクリプトをMain Cameraにドラッグして使う
------------------------------------------------------------------------
using UnityEngine;
using System.Collections;

public class myFlort : MonoBehaviour {

// Use this for initialization
void Start () {
int X=3;//int is -2147483648 to +2147483647
float Z=3.0f;//float  is +/-1.5 x 10-45 to +/- 3.4 X 10+38 w/ 7 digit accuracy. 0.3333333
//Z=1.0f/3.0f;
//Z=(float)X+5.0f;//Cast float
X=(int)Z+5;//Cast int
//print("Z is:"+Z);
print("X is:"+X);
/*
X=1/3;
print(X);
*/
}
}

------------------------------------------------------------------------
part10
C#Lesson-10    下記スクリプトをMain Cameraにドラッグして使う 
        さらに定義しているInspecter パネルのpublic GUISkin myStyleに
                Asset<create<GUIskin作ってそれをドラッグして
        GUIskinを選択してInspecter パネルで色々調整。
------------------------------------------------------------------------
using UnityEngine;
using System.Collections;
public class myGUI : MonoBehaviour {
public GUISkin myStyle;
public string myString="Hellow UNITY3D";
int X=1;
void OnGUI(){
GUI.skin=myStyle;
GUI.Label(new Rect(10,10,1200,80),myString + X++);
}
}
-----------------------------------------------------------------------
part11
C#Lesson-11    下記スクリプトをMain Cameraにドラッグして使う 
        さらに定義しているInspecter パネルのpublic GUISkin myStyleに
                Asset<create<GUIskin作ってそれをmyCalculatorGUISkinにリネームしてドラッグしてmyStyleに割り当て
        GUIskinを選択してInspecter パネルで色々調整。
public int X;
public int Y;それぞれがpublicなのでInspecterでいじれる。
------------------------------------------------------------------------
using UnityEngine;
using System.Collections;
public class myCalculator : MonoBehaviour {
public GUISkin myStyle;
public int X=1;
public int Y=2;
int theAnswer=0;
void OnGUI(){
GUI.skin=myStyle;
theAnswer=X+Y;
GUI.Label(new Rect(10,10,1200,80),X+" + "+Y+" = "+theAnswer);
theAnswer=X-Y;
GUI.Label(new Rect(10,90,1200,80),X+" - "+Y+" = "+theAnswer);
theAnswer=X*Y;
GUI.Label(new Rect(10,170,1200,80),X+" x "+Y+" = "+theAnswer);
theAnswer=X/Y;
GUI.Label(new Rect(10,250,1200,80),X+" / "+Y+" = "+theAnswer+"(Integer Arithmetic.)");
theAnswer=X%Y;
GUI.Label(new Rect(10,330,1200,80),X+" % "+Y+" = "+theAnswer);
}
}

------------------------------------------------------------------------

download link  (unity4 version 4.1.2f1)


ダウンロードリンクが表示されなかったので更新





















------------------------------------------------------------------------------------------
| whaison | Unity3d | 20:59 | comments(0) | - | pookmark |
            
2013.05.17 Friday
Blender2.6系の日本語化方法となんか右のパネルフレームレートとかFlashのパネルみたいな件
Blender2.6系の日本語化方法となんか右のパネル「フレームレート:24fps」とかFlashのパネルみたいな件

ひさしぶりにBlender 2.67をダウンロードしてみた。



Blender2.6系の日本語化方法
 
さんにのっていた。

メニューの日本語化の方法は、
メニューから "File" > "User Preferences"を選択。

"System"タブをクリッ ク。右下の"International Fonts"にチェックを入れ 、

"Language"の"Japanese(日本語)を選択、

その下 の"Translate:"の"Interface"と"Tooltip"のチェックをそれぞれ入れる。



それにしても なんか右下のパネル「フレームレート:24fps」とかFlashのパネルみたい
下のタイムラインも。。



ちなみに
Blender2.4系の日本語化方法と 使い方



| whaison | Blender | 17:40 | comments(0) | - | pookmark |