blob: 7993b25a99cf2e0c109f1b14e57a4ff01d0a1d9d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
using System;
using UnityEngine;
using XUtliPoolLib;
namespace XMainClient
{
internal class XCommandPureText : XBaseCommand
{
public override bool Execute()
{
this._startTime = Time.time;
int num = int.Parse(this._cmd.param1);
int num2 = int.Parse(this._cmd.param2);
Vector3 vector = XSingleton<XGameUI>.singleton.UICamera.ScreenToWorldPoint(XTutorialHelper.BaseScreenPos2Real(new Vector2((float)num, (float)num2)));
Vector3 vector2 = XSingleton<XGameUI>.singleton.UIRoot.InverseTransformPoint(vector);
base.SetTutorialText(this._cmd.textPos, XSingleton<XGameUI>.singleton.UIRoot);
base.publicModule();
return true;
}
public override void Update()
{
}
}
}
|