コード例 #1
0
 public override CodeParameter[] Parameters() => new CodeParameter[]
 {
     new CodeParameter("relativePlayer", "The player to whom the resulting vector will be relative."),
     new CodeParameter("transformation", "Specifies whether the vector should receive a rotation and a translation (usually applied to positions) or only a rotation (usually applied to directions and velocities).", WorkshopEnumType.GetEnumType <Transformation>())
 };
コード例 #2
0
 public override CodeParameter[] Parameters() => new CodeParameter[]
 {
     new CodeParameter("other", "The vector to determine line of site."),
     new CodeParameter("barriers", "Defines how barriers affect line of sight.", WorkshopEnumType.GetEnumType <BarrierLOS>(), new ExpressionOrWorkshopValue(EnumData.GetEnumValue(BarrierLOS.NoBarriersBlock))),
 };