示例#1
0
 private void Start()
 {
     InvokeRepeating("sampleEmotion", 1.0f, 1.0f);
     //InvokeRepeating("finalize", 8.0f, 8.0f);
     emotionContainer  = new EmotionContainer();
     vehicleController = GameObject.Find("Vehicle").GetComponent <VehicleController>();
     timeScript        = GameObject.Find("TimerText").GetComponent <TimerScript>();
 }
 /// <summary> 
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.emotionContainer1 = new CSS.IM.UI.Face.EmotionContainer();
     this.SuspendLayout();
     //
     // emotionContainer1
     //
     this.emotionContainer1.BackColor = System.Drawing.Color.White;
     this.emotionContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.emotionContainer1.GridSize = 26;
     this.emotionContainer1.Location = new System.Drawing.Point(0, 0);
     this.emotionContainer1.Name = "emotionContainer1";
     this.emotionContainer1.Row = 15;
     this.emotionContainer1.TabIndex = 0;
     //
     // EmotionDropdown
     //
     this.Controls.Add(this.emotionContainer1);
     this.Name = "EmotionDropdown";
     this.Size = new System.Drawing.Size(390, 236);
     this.ResumeLayout(false);
 }
示例#3
0
 internal EmotionItem(EmotionContainer owner)
 {
     if (owner == null)
         throw new ArgumentNullException("owner");
     _owner = owner;
 }