From 22d482183aa44aa2ffd837d8939a7b0bd15d28b9 Mon Sep 17 00:00:00 2001 From: liuzhiwei <liuzhiwei@qq.com> Date: Thu, 29 Oct 2020 10:45:21 +0800 Subject: [PATCH] Merge branch 'master' of http://172.16.1.52:8090/r/GemBattle into master --- Assets/Scripts/Guide/ImageSkill.cs | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Assets/Scripts/Guide/ImageSkill.cs b/Assets/Scripts/Guide/ImageSkill.cs index de083d3..44137a7 100644 --- a/Assets/Scripts/Guide/ImageSkill.cs +++ b/Assets/Scripts/Guide/ImageSkill.cs @@ -54,10 +54,17 @@ Image tmpImage; Vector2 pos; - + public Vector2 GetStartP + { + get + { + return pos; + } + } RectTransform rectTransform; + // Start is called before the first frame update - void Start() + private void Awake() { //imageFire1 = transform.parent.Find("Image_Fire1").GetComponent<ImageFire1>(); tmpImage = GetComponent<Image>(); -- Gitblit v1.9.1