11 bool shouldIncrementOffset;
18 storageQueue = policy.GetStorageQueue();
20 if (shouldIncrementOffset)
26 if (!policy.IsStorageTypeValid(storageType))
30 array<ref SCR_ResourceEncapsulatorActionBase> actions = encapsulator.
GetActions();
34 m_fAggregatedMaxResourceValue += container.GetMaxResourceValue();
36 shouldIncrementOffset =
true;
52 Color color1 =
Color.FromInt(m_Interactor.GetDebugColor().PackToInt());
53 Color color2 =
Color.FromInt(m_Interactor.GetDebugColor().PackToInt());
65 string infoText =
string.Format(
" ENC Pos: %1 Distance: %2 m ",
idx,
vector.Distance(m_Interactor.GetOwnerOrigin(), container.GetOwnerOrigin()));
66 origin = container.GetOwnerOrigin();
67 consumerIdx = container.GetLinkedInteractorIndex(m_Interactor);
69 if (container.IsResourceGainEnabled())
72 if (container.IsResourceDecayEnabled())
75 heightDiff = container.debugControlOffset * consumerIdx + container.debugControlOffset * 3;
83 if (!container.GetComponent().IsDebugVisualizationEnabled())
84 container.DebugDraw(
false);