|
|
|
@ -103,7 +103,13 @@ public class WeaponNode : MonoBehaviour,IDragHandler, IBeginDragHandler, IEndDra |
|
|
|
Debug.Log("结算成功节点1"); |
|
|
|
//score = 0;
|
|
|
|
//scoreMul = 0f;
|
|
|
|
|
|
|
|
extraRedNodeCount = 0; |
|
|
|
extraBlueNodeCount = 0; |
|
|
|
extraYellowNodeCount = 0; |
|
|
|
extraMostNodeCount = 0; |
|
|
|
extraLeastNodeCount = 0; |
|
|
|
extraAllNodeCount = 0; |
|
|
|
turnScore = 0; |
|
|
|
if (isIgnoreCondition||ConditionCheck(position)) |
|
|
|
{ |
|
|
|
Debug.Log("结算成功节点2"+"位置"+position); |
|
|
|
@ -144,13 +150,7 @@ public class WeaponNode : MonoBehaviour,IDragHandler, IBeginDragHandler, IEndDra |
|
|
|
|
|
|
|
public virtual void SettleFunction(int position,string result, ref int score) |
|
|
|
{ |
|
|
|
extraRedNodeCount = 0; |
|
|
|
extraBlueNodeCount = 0; |
|
|
|
extraYellowNodeCount = 0; |
|
|
|
extraMostNodeCount = 0; |
|
|
|
extraLeastNodeCount = 0; |
|
|
|
extraAllNodeCount = 0; |
|
|
|
turnScore = 0; |
|
|
|
|
|
|
|
Debug.Log("结算成功节点3"); |
|
|
|
string[] keys = result.Split("_"); |
|
|
|
for (int j = 0; j < keys.Length; j++) |
|
|
|
|